# curl -O https://ghproxy.net/https://raw.githubusercontent.com/graphql-hive/console/main/docker/docker-compose.community.yml
export DOCKER_REGISTRY="ghcr.io/graphql-hive/"
export DOCKER_TAG=":latest" # Pin this to an exact version
export HIVE_ENCRYPTION_SECRET=$(openssl rand -hex 16)
export HIVE_APP_BASE_URL="http://localhost:8080"
export HIVE_EMAIL_FROM="no-reply@graphql-hive.com"
export SUPERTOKENS_API_KEY=$(openssl rand -hex 16)
export CLICKHOUSE_USER="clickhouse"
export CLICKHOUSE_PASSWORD=$(openssl rand -hex 16)
export REDIS_PASSWORD=$(openssl rand -hex 16)
export POSTGRES_USER="postgres"
export POSTGRES_PASSWORD=$(openssl rand -hex 16)
export POSTGRES_DB="registry"
export MINIO_ROOT_USER="minioadmin"
export MINIO_ROOT_PASSWORD="minioadmin"
export CDN_AUTH_PRIVATE_KEY=$(openssl rand -hex 16)
docker compose -f docker-compose.community.yml config >docker-compose.with-env.yml
docker compose -f docker-compose.with-env.yml up
